﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MyHotel_BUSWS.MyHotel_MenuDAO_Webservice;

namespace MyHotel_BUSWS
{
    public class MHMainBUS
    {
        public static Menu[] getListMenu()
        {
            MenuDAOWSSoapClient ws = new MenuDAOWSSoapClient();
            return ws.getList();
        }


        public static Menu[] getMenuByMaNV(int manv)
        {
            MenuDAOWSSoapClient ws = new MenuDAOWSSoapClient();
            return ws.getMenuByMaNV(manv);
        }
    }
}